package com.lengchangjing.BehavioralPatterns.StatePattern;

public class Context {


    private State state;

    public Context(State state) {
        this.state = state;
    }

    public void request() {
        this.state.handle(this);
    }

    public void setState(State state) {
        this.state = state;
    }


}
